import React from 'react';
import { source } from './source'
import WebView from 'react-native-webview';

export default function RNMap({ location, zoom }: any) {

    const html = source(location, zoom)

    return (
        <WebView
            source={{ html }}
            style={{ width: '100%', height: '100%' }}
        />

    )
}
